export declare interface ResponsesType {
    200?: Responses200Type,
    400?: Responses200Type,
    404?: Responses200Type,
    500?: Responses200Type,
    required?: Boolean
}


export declare interface Responses200Type {
    content: ResponsesContentType,
    description: string
}


export declare interface ResponsesContentType {
    "application/json"?: ResponsesApplicationJsonType,
}



export declare interface ResponsesApplicationJsonType {
    schema: ResponsesContentSchemaType,
}


export declare interface ResponsesContentSchemaType {
    properties: ResponsesContentPropertiesType,
    type: string
}

export declare interface ResponsesContentPropertiesType {
    error?: ResponsesContentErrorType,
    result?: ResponsesContentResultType
    success: { type: string }
}

export declare interface ResponsesContentResultType {
    properties?: ResponsesContentResultPropertiesType,
    items?:ResponsesContentResultPropertiesType,
    type: string
}

export declare interface ResponsesContentResultPropertiesType {
    [key: string]: object|string,
}

export declare interface ResponsesContentResultPropertiesItemType {
    format?: string,
    type?: string,
    example?: string | number | boolean,
    text?: string ,
    items?:ResponsesContentResultPropertiesItemType
}

export declare interface ResponsesContentErrorType {
    properties: object,
    type: string
}